<template>
  <view class="tabs-pane" :class="customClass" :style="[customStyle]">
    <slot></slot>
  </view>
</template>

<script>
export default {
  name: "TabsPane",
  // #ifdef MP-WEIXIN
  options: {
    virtualHost: true,
  },
  // #endif
  props: {
    label: [String, Number], //tab标签名
    name: [String, Number], //slot对应名称(必须与slot值一样且唯一,而且需要同时存在)
    sClass: String, //绑定在swiper-item上的class
  },
};
</script>

<style>
.tabs-pane {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
</style>
